<template>
  <div class="zl-attr-item">
    <div class="right-row" >
        <Checkbox v-model="graphOptions.legend.show" label="显示">显示</Checkbox>
    </div>
    <div class="right-row">
        <span class="r-tit">颜色</span>
        <div class="r-cnt">
            <ColorPicker v-model="graphOptions.legend.textStyle.color"></ColorPicker>
        </div>
    </div>
  </div>
</template>
<script type="text/javascript">
export default {
  name: 'ZlLegend',
  data () {
    return {
    }
  },
  props: {
    graphOptions:{
        type:Object,
        default:function(){
            return {};
        }
    },
    graphType:{
        type:String
    }
  }
}
</script>
<style rel="stylesheet/less" lang="less" scoped>
</style>
